package com.eric.code.oauth2.model;

import com.jfinal.plugin.activerecord.Model;

import java.util.Date;

/**
 * Created by eric on 17-3-21.
 */
public class App extends Model<App> {

    public long getId(){
        return get("id");
    }

    public void setClientName(String clientName){
        set("client_name",clientName);
    }
    public String getClientName(){
        return get("client_name");
    }

    public void setClientId(String clientId){
        set("client_id",clientId);
    }
    public String getClientId(){
        return get("client_id");
    }

    public void setClientSecret(String secret){
        set("client_secret",secret);
    }
    public String getClientSecret(){
        return get("client_secret");
    }

    public void setCreateAt(Date date){
        set("createAt",date);
    }
    public Date getCreateAt(){
        return get("createAt");
    }


}
